class Solution:
    def findRepeatedDnaSequences(self, s: str) -> List[str]:
        if len(s) <= 10:
            return []
        sequences = set()
        result = set()
        for i in range(len(s) - 9):
            subSequence = s[i:i+10]
            if subSequence in sequences:
                result.add(subSequence)
            sequences.add(subSequence)
        return list(result)
